﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NC.Cather;

namespace NC.Infrastructure.Domain.Identity
{
    public class Person:BaseEntity
    {
        public Person()
        {
            //注册账户默认为没有经过审核
            this.Audit = false;
            //注册账户默认为游客
            this.Role=RoleEnum.Visitor;
        }
        /// <summary>
        /// 身份信息
        /// </summary>
        public RoleEnum Role { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 学号
        /// </summary>
        public string SchoolNumber { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Image { get; set; }
        /// <summary>
        /// 
        /// 入学时间
        /// </summary>
        public int InSchoolTime { get; set; }
        /// <summary>
        /// 自我描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string TickName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 是否审核
        /// </summary>
        public bool Audit { get; set; }
    }
}
